package com.hospital.register;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * 医院服务 启动类
 *
 * @author 刘逸晖
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.hospital.register")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.hospital.register")
public class CoreApplication {

    /**
     * 主方法
     *
     * @param args 启动参数
     */
public static void main(String[] args) {
        SpringApplication.run(CoreApplication.class, args);
    }

}
